import { reactive } from "vue";

export const application_query = reactive({
    id: "",
    lectureId: "",
    lectureName: "",
    name: "",
    companyName: "" ,
})

export interface ApplicationData{
    companyName: string,
    createTime: string,
    deleted: boolean,
    email: string,
    expectObtain: string,
    gender: string,
    id: number,
    isChecked: boolean,
    isObtainedMaterial: boolean,
    isPay: boolean,
    lectureId: number,
    name: string,
    technicalLevel: string,
    updeteTime: string,
    workPosition: string,
    lectureName: string,
}

interface PageData {
    page: number,
    count: number,
    pagesize: number,
}

export class ApplicationListData {
    selectData: PageData = {
        page: 1,
        count: 0,
        pagesize: 5,
    }
    ApplicationList: ApplicationData[] = []
}